package com.wzx.user.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author wzx
 * @version 1.0
 * @date 2022/6/15 - 16:52
 * @description 标题
 */
@Data
@ApiModel(value = "RegisterVo",description = "注册参数")
public class RegisterVo {

    @ApiModelProperty(value = "昵称")
    //@NotEmpty(message = "昵称为空！")
    private String nickname;

    @ApiModelProperty(value = "用户手机号")
    @NotEmpty(message = "用户手机号为空！")
    private String phone;

    @ApiModelProperty(value = "验证码")
    @NotEmpty(message = "验证码为空！")
    private String code;

    @ApiModelProperty(value = "密码")
    //@NotEmpty(message = "密码为空！")
    private String password;

    @ApiModelProperty(value = "设备信息")
    private String equipmentInfo;

    @ApiModelProperty(value = "设备类型")
    private String deviceType;

    @ApiModelProperty(value = "图形验证码")
    private String imgCode;

}
